package pack0622;

public class DemoJ {
    public static void main(String[] args){
        int a,b,c;
        int sum=0;
        for (a=1;a<=3;a++){
            for (b=1;b<=3;b++){
                if (b!=a){
                    for (c=1;c<=3;c++){
                        if (c!=b&&c!=a){
                            sum=a*100+b*10+c;
                            System.out.println(sum+" ");
                        }
                    }
                }
            }
        }
    }
}
